package com.lmt.service;

import com.lmt.base.ResultData;
import com.lmt.entity.ResourceComment;
import com.lmt.entity.search.ResourceCommentSearch;

/**
 * Date 2018/07/17
 *
 * @author MT-Lin
 */
public interface ResourceCommentService {

    /**
     * 保存评论内容
     * @param resourceComment 评论内容
     * @return ResultData
     */
    ResultData save(ResourceComment resourceComment);

    /**
     * 根据资源ID获取资源评论内容
     * @param resourceCommentSearch 查询条件
     * @return ResultData
     */
    ResultData getCommentByResourceId(ResourceCommentSearch resourceCommentSearch);
}
